package scau.edu.cn.entity;

import scau.edu.cn.entity.base.BaseEntity;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @description:问卷实体
 * @author: yuxiang
 * @create: 2020-08-15 14:29
 **/
@Entity
@Table(name = "query")
public class QueryEntity extends BaseEntity {

    /**
     * 问卷可用标志
     * 0表示未填写 1表示已填写
     */
    private int flag;

    public QueryEntity(int flag) {
        this.flag = flag;
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    public QueryEntity() {
    }
}
